<?php
/**
 * 内容模板
 */
Route::get('operation/content_templates', ['as' => 'operation.content_templates.index', 'uses' => 'Operation\ContentTemplateController@index']);
Route::post('operation/content_templates', ['as' => 'operation.content_templates.store', 'uses' => 'Operation\ContentTemplateController@store']);
Route::get('operation/content_templates/create', ['as' => 'operation.content_templates.create', 'uses' => 'Operation\ContentTemplateController@create']);
Route::put('operation/content_templates/{content_templates}', ['as' => 'operation.content_templates.update', 'uses' => 'Operation\ContentTemplateController@update']);
Route::patch('operation/content_templates/{content_templates}', ['as' => 'operation.content_templates.update', 'uses' => 'Operation\ContentTemplateController@update']);
Route::delete('operation/content_templates/{content_templates}', ['as' => 'operation.content_templates.destroy', 'uses' => 'Operation\ContentTemplateController@destroy']);
Route::get('operation/content_templates/{content_templates}', ['as' => 'operation.content_templates.show', 'uses' => 'Operation\ContentTemplateController@show']);
Route::get('operation/content_templates/{content_templates}/edit', ['as' => 'operation.content_templates.edit', 'uses' => 'Operation\ContentTemplateController@edit']);
// 区位模板数据
Route::get('operation/content_templates/{template_type}/{template_no}', ['as' => 'operation.content_templates.data_list', 'uses' => 'Operation\ContentTemplateController@dataList']);
Route::get('operation/content_templates/{template_type}/{template_no}/create', ['as' => 'operation.content_templates.data_create', 'uses' => 'Operation\ContentTemplateController@dataCreate']);

// Route::get('operation/content_templates/{template_type}/{template_no}', ['as' => 'operation.content_templates.template', 'uses' => 'Operation\ContentTemplateController@template']);

// 区位模板数据发布
// Route::get('operation/content_templates/template_type/publish/view', ['as'=> 'operation.content_templates.publish', 'uses' => 'Operation\ContentTemplateController@publish']);
// 区位模板发布进度
// Route::get('operation/content_templates/template_type/publish_progress/view', ['as'=> 'operation.content_templates.publish_progress', 'uses' => 'Operation\ContentTemplateController@publishProgress']);

// 单个区位模板发布
// Route::get('operation/content_templates/template_type/publish_one/view', ['as'=> 'operation.content_templates.publish_one', 'uses' => 'Operation\ContentTemplateController@publish']);
